@import "./variables.scss";
@import "./mixins.scss";

.container {
  min-height: 100vh;
  background-color: $light-color;
  padding-bottom: $spacing-md;
  box-sizing: border-box;
}


.header {
  height: 60px;
  background-color: $primary-color;
  @include flex-center;
  color: $white-color;
  font-size: $font-size-title;
  font-weight: bold;
}

.swiper {
  height: 200px;
  margin: $spacing-sm $spacing-md;
  @include border-radius;
  overflow: hidden;
}

.swiper-image {
  width: 100%;
  height: 100%;
}

.section-bars {
	left: 0;
	bottom: 0;
	width: 100%;
	display: flex;
	position: fixed;
	flex-wrap: wrap;
	padding-top: 10px;
	border-radius: 10px;
	background-color: #ffffff;
	border-top: 1rpx solid #f8f8f8;
}

.section-bar {
	width: 25%;
	display: flex;
	margin-bottom: 6px;
	align-items: center;
	flex-direction: column;
}

.section-bar-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-bottom: 10px;
	background-color: #e0e0e0;
}

.quick-entrance {
  display: flex;
  @include box-shadow;
  margin: $spacing-lg 0;
  margin: 0 $spacing-md;
  padding: $spacing-md 0;
  @include border-radius;
  background-color: $white-color;
  justify-content: space-around;
}

.entrance-item {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.entrance-icon {
  width: 50px;
  height: 50px;
  margin-bottom: $spacing-xs;
}

.entrance-text {
  font-size: $font-size-normal;
  color: $text-color;
}

.content {
  margin: $spacing-lg $spacing-md 0;
  background-color: $white-color;
  @include border-radius;
  padding: $spacing-md;
  @include box-shadow;
}

.content-title {
  font-size: $font-size-title;
  font-weight: bold;
  color: $text-color;
  margin-bottom: $spacing-md;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: $spacing-md;
}

.news-item {
  padding: $spacing-sm;
  border-bottom: 1px solid $border-color;
  @include flex-between;
}

.news-title {
  font-size: $font-size-large;
  color: $text-color;
  flex: 1;
}

.news-date {
  font-size: $font-size-small;
  color: $gray-color;
  margin-left: $spacing-sm;
}

.footer {
  margin-top: $spacing-xl;
  text-align: center;
  padding: $spacing-lg 0;
}

.footer-text {
  font-size: $font-size-small;
  color: $gray-color;
}